<?php session_start (); if (isset($_SESSION['login']) && isset($_SESSION['mdp']) && $_SESSION['Autorisation'] == 3) {?>
<html>
<head>
<link rel="stylesheet" href="styleadmin.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>sans titre 1</title>
</head>

<body>

	<div id="container">
		<div id="top">
		<?php include '../header.php'; ?>
		</div>
		
		<div id="leftnav">
		<?php include 'menu-administration.php'; ?>
		</div>
 
		<div id="content">
		<FORM METHOD="POST" ACTION="suppression.php">
			<?php
			try
			{
				include '../include/Data.php';
				$req = mysql_query('SELECT NumArticle,Titre from article');
				$ligne = mysql_fetch_assoc($req);
				?>
				<select name="choix">
				<?php
				while ($ligne)
				{
				?><option value="<?php echo $ligne['NumArticle']?>"><?php echo $ligne['Titre']?></option>'<?php
				$ligne = mysql_fetch_assoc($req);
				}
			
				?>
				</select>
				<input type="submit" value="Envoi">
				<?php
				mysql_close($connexion);
				}
				catch(Exception $e)
					{
						die('Erreur : '.$e->getMessage());
					}

			?>
                </FORM>
		</div>
 
		<div id="footer">
			<?php include '../footer.php'; ?>
		</div>
 	
	</div>
</body>
</html>
<?php } else { header("Refresh: 0; URL=../index.php"); }?>